\hypertarget{classsock_1_1net_1_1_tcp_connection_factory}{}\section{sock\+:\+:net\+:\+:Tcp\+Connection\+Factory Class Reference}
\label{classsock_1_1net_1_1_tcp_connection_factory}\index{sock\+::net\+::\+Tcp\+Connection\+Factory@{sock\+::net\+::\+Tcp\+Connection\+Factory}}


网络连接工厂类  




{\ttfamily \#include $<$tcp\+\_\+connection\+\_\+factory.\+h$>$}

Inheritance diagram for sock\+:\+:net\+:\+:Tcp\+Connection\+Factory\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classsock_1_1net_1_1_tcp_connection_factory}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classsock_1_1net_1_1_tcp_connection_factory_a36d11474c5aaea5068fc2f991b5aa2b9}{Tcp\+Connection\+Factory} (void)
\item 
virtual \hyperlink{classsock_1_1net_1_1_tcp_connection_factory_ac26c4c1fbe756b4640d4e3a843ad61ba}{$\sim$\+Tcp\+Connection\+Factory} (void)
\item 
virtual \hyperlink{namespacesock_1_1net_ac7ab8c7fe4e8e023f2fea799b74122ed}{Tcp\+Connection\+Ptr} \hyperlink{classsock_1_1net_1_1_tcp_connection_factory_a8e8cad9de1b1258e9456a1684ab081c4}{create} (sock\+\_\+t sock, size\+\_\+t is\+Size, size\+\_\+t os\+Size)
\begin{DoxyCompactList}\small\item\em 创建连接 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
网络连接工厂类 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsock_1_1net_1_1_tcp_connection_factory_a36d11474c5aaea5068fc2f991b5aa2b9}{}\index{sock\+::net\+::\+Tcp\+Connection\+Factory@{sock\+::net\+::\+Tcp\+Connection\+Factory}!Tcp\+Connection\+Factory@{Tcp\+Connection\+Factory}}
\index{Tcp\+Connection\+Factory@{Tcp\+Connection\+Factory}!sock\+::net\+::\+Tcp\+Connection\+Factory@{sock\+::net\+::\+Tcp\+Connection\+Factory}}
\subsubsection[{Tcp\+Connection\+Factory(void)}]{\setlength{\rightskip}{0pt plus 5cm}Tcp\+Connection\+Factory\+::\+Tcp\+Connection\+Factory (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{classsock_1_1net_1_1_tcp_connection_factory_a36d11474c5aaea5068fc2f991b5aa2b9}
\hypertarget{classsock_1_1net_1_1_tcp_connection_factory_ac26c4c1fbe756b4640d4e3a843ad61ba}{}\index{sock\+::net\+::\+Tcp\+Connection\+Factory@{sock\+::net\+::\+Tcp\+Connection\+Factory}!````~Tcp\+Connection\+Factory@{$\sim$\+Tcp\+Connection\+Factory}}
\index{````~Tcp\+Connection\+Factory@{$\sim$\+Tcp\+Connection\+Factory}!sock\+::net\+::\+Tcp\+Connection\+Factory@{sock\+::net\+::\+Tcp\+Connection\+Factory}}
\subsubsection[{$\sim$\+Tcp\+Connection\+Factory(void)}]{\setlength{\rightskip}{0pt plus 5cm}Tcp\+Connection\+Factory\+::$\sim$\+Tcp\+Connection\+Factory (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classsock_1_1net_1_1_tcp_connection_factory_ac26c4c1fbe756b4640d4e3a843ad61ba}


\subsection{Member Function Documentation}
\hypertarget{classsock_1_1net_1_1_tcp_connection_factory_a8e8cad9de1b1258e9456a1684ab081c4}{}\index{sock\+::net\+::\+Tcp\+Connection\+Factory@{sock\+::net\+::\+Tcp\+Connection\+Factory}!create@{create}}
\index{create@{create}!sock\+::net\+::\+Tcp\+Connection\+Factory@{sock\+::net\+::\+Tcp\+Connection\+Factory}}
\subsubsection[{create(sock\+\_\+t sock, size\+\_\+t is\+Size, size\+\_\+t os\+Size)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Tcp\+Connection\+Ptr} Tcp\+Connection\+Factory\+::create (
\begin{DoxyParamCaption}
\item[{sock\+\_\+t}]{sock, }
\item[{size\+\_\+t}]{is\+Size, }
\item[{size\+\_\+t}]{os\+Size}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classsock_1_1net_1_1_tcp_connection_factory_a8e8cad9de1b1258e9456a1684ab081c4}


创建连接 


\begin{DoxyParams}{Parameters}
{\em sock} & 套接字 \\
\hline
{\em is\+Size} & 输入流大小 \\
\hline
{\em os\+Size} & 输出流大小 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Tcp\+Connection\+Ptr 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
E\+:/git/sock/sock/net/\hyperlink{tcp__connection__factory_8h}{tcp\+\_\+connection\+\_\+factory.\+h}\item 
E\+:/git/sock/src/net/\hyperlink{tcp__connection__factory_8cc}{tcp\+\_\+connection\+\_\+factory.\+cc}\end{DoxyCompactItemize}
